package com.cjb.base.service.impl;

import com.cjb.base.dao.RoleMapper;
import com.cjb.base.domain.Role;
import com.cjb.base.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {


    @Resource
    private RoleMapper roleMapper;



    @Override
    public List<Role> getByUid(Integer uid) {
      return   roleMapper.getByUid(uid);
    }
}
